using namespace std;
#include"comm.hpp"
int main()
{
  std::string query_string;
  //拿到字符串
  GetQueryString(query_string);
  //a=100&b=200
  //切割字符串
  std::string str1;
  std::string str2;
  CutString(query_string,"&",str1,str2);
  
  std::string name1;
  std::string value1;
  CutString(str1,"=",name1,value1);
  
  std::string name2;
  std::string value2;
  CutString(str2,"=",name2,value2);
  

  std::cout<<name1<<":"<<value1<<std::endl;
  std::cout<<name2<<":"<<value2<<std::endl;
  return 0;
}
